package com.reborn.mall.api.model.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Table;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 购物车表-实体类
 *
 * @author wu.yue
 * @since 2020/3/6
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Table(name = "oms_cart_item")
public class CartItem extends BaseEntity {
    private Long productId;

    private Long productSkuId;

    private Long appUserId;

    private String appUsername;

    private Long memberId;

    private Integer quantity;

    
    private BigDecimal price;

    
    private String productPic;

    
    private String productName;

    
    private String productSubTitle;

    
    private String productSkuCode;

    
    private String memberNickname;

    
    private Date createDate;

    
    private Date modifyDate;

    
    private Integer deleteStatus;

    private Long productCategoryId;

    private String productBrand;

    private String productSn;

    private String productAttr;
}
